home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / unixdos2.zip / DOSNIX.DOC < prev    next >
Text File  |  1992-12-12  |  59KB  |  1,949 lines

  1. ~
  2.  
  3.       DOSNIX.DOC (this file) has been keyed for use with MANUAL.BAT and
  4.     READ.  For on-line help merely type "manual" and the name of the 
  5.     subject    with which you want help.  To search for subjects while in 
  6.     READ, begin the search string with a ~ (tilde).
  7.  
  8.       For help from anywhere on your system, READ.EXE and MANUAL.BAT 
  9.     should     be in a directory pointed to by the PATH command and you 
  10.     should put the full path name for DOSNIX.DOC in MANUAL.BAT.  For 
  11.     example: 
  12.  
  13.             READ +\~%1 C:\DOSNIX\DOSNIX.DOC
  14.  
  15.  
  16.  
  17.                 HELP INDEX
  18.  
  19.  
  20.         Introduction            HEAD *
  21.         General                LS
  22.         STDIN                    MV
  23.         STDOUT                    MVDIR
  24.         Commands                READ
  25.             APP                RM
  26.             CAT                 RN
  27.             CHMOD                SGREP *
  28.             CLR                SPLIT *
  29.             CP                TAIL *
  30.             CPDIR *                TEE
  31.             DB                TOLOWER 
  32.         DF *                TOUCH
  33.         DU *                TOUPPER
  34.         EDC                WC *
  35.         FFIND                Registration
  36.         GET *
  37.  
  38.  
  39.         * Enhanced version only.
  40.  
  41.  
  42.  
  43. ~introduction
  44.  
  45.  
  46.  
  47.                             DOSNIX ver. 2.2 
  48.              A Product of Chenango Shoreware
  49.                      Copyr. 1990,1992 by  G. Vrooman
  50.                           All rights reserved.
  51.  
  52.  
  53.         DOSNIX is a collection of UNIX style file management and text
  54.     utilities which will increase the power and flexibility of your
  55.     system.  DOSNIX provides many of the features which UNIX users
  56.     take for granted along with some features not even found on UNIX
  57.     systems.  It is not a UNIX clone but it is very compatible with UNIX 
  58.     conventions.  Users who are familiar with UNIX will have no trouble
  59.     learning DOSNIX.  Other users may find DOSNIX a good tool for learning 
  60.     UNIX.  Some of the programs included with DOSNIX are:
  61.  
  62.  
  63.     CHMOD -    This version of the UNIX CHMOD command has been adapted
  64.              to work with MSDOS file attributes.  It will allow you
  65.              to change the attributes of any file and allow you to
  66.              create read only, hidden and system files.
  67.  
  68.     CLR -      A utility which will allow you to customize your screen 
  69.          colors from the command line.  CLR will work properly with or
  70.          without ANSI.SYS.
  71.  
  72.     CP -       The UNIX counterpart of the DOS COPY command.  CP will
  73.              allow you to copy hidden and system files, and the DOSNIX
  74.              version will not overwrite existing files without warning
  75.              you.  CP can handle wild cards and multiple arguments and
  76.          will even allow you to format a new floppy disk if the first
  77.          one gets filled up.  CP also has options to utilize the archive 
  78.          bit or to copy files interactively.
  79.  
  80.     DB -       The famous "delete but" command will delete all except
  81.              specified files.  This command is not UNIX but it is a
  82.              great tool for cleaning up around ZIP, ARC and other archive
  83.              files.
  84.  
  85.     EDC -      Easy Directory Change.  This utility will allow you to
  86.          change directories without typing out long path names.
  87.          EDC can also be used to display a visual directory tree
  88.          on your screen.
  89.  
  90.     FFIND -    FFIND is a file locator in the tradition of the UNIX FIND
  91.              command.  Although FFIND does not have the power and scope
  92.              of the UNIX version, it is much easier to use.  FFIND will
  93.              locate files on any drive and will accept wild cards.  It
  94.              will also locate hidden and system files and has options
  95.              to remove unwanted files.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.     LS -       The venerable UNIX directory lister.  LS has been spruced 
  102.          up and given another sort and two new display modes.  LS will 
  103.          now display directories sorted by file size as well as name, 
  104.          extension or date.  LS can list files in one, two, four or five 
  105.          column formats, sorted by row or by column, and offers a choice 
  106.          of upper or lower case output.  LS also offers reverse sorting
  107.          and a choice of switch characters. Default options can be set 
  108.          from the environment.
  109.  
  110.  
  111.     MV -       A fast powerful file mover, MV is used to relocate files
  112.              without performing separate COPY and  DEL commands.  MV can
  113.              be used to move files to any directory or to any drive.
  114.  
  115.     MVDIR -    The UNIX directory move utility.  MVDIR will relocate
  116.          complete directory trees and this version will even
  117.          move them to another drive.
  118.  
  119.     READ -     A highly modified version of the UNIX PG or MORE command,
  120.             READ is a handy text file viewer which will recognize both UNIX 
  121.          and keypad commands and will read from STDIN or directly from
  122.          files.  
  123.  
  124.     RM -       More powerful than the DOS DEL command, this utility
  125.              will remove complete directory structures and is great
  126.              for erasing floppies.  Unlike some UNIX versions, RM
  127.              will warn you before doing anything drastic.
  128.  
  129.  
  130.         DOSNIX also includes versions of the CAT, TEE and TOUCH commands.
  131.  
  132.  
  133.  
  134.  
  135. ~general
  136.  
  137.  
  138.     INSTALLING DOSNIX:
  139.  
  140.       DOSNIX is intended primarily for hard drives although    individual 
  141.     DOSNIX utilities can be copied to a floppy disk.  To install DOSNIX 
  142.     on your hard drive you can copy the files to any convenient directory,
  143.     such as C:\DOSNIX and add the directory to the PATH statement in your
  144.         AUTOEXEC.BAT file.  If you don't have an AUTOEXEC.BAT file you can 
  145.     make one with the following two lines:
  146.  
  147.                         PATH = C:;C:\DOSNIX
  148.                         PROMPT $P$G
  149.  
  150.     This will get you up and running with DOSNIX.
  151.  
  152.  
  153.     DOSNIX OPTIONS:
  154.  
  155.       Most DOSNIX commands have a simple format which can be enhanced by 
  156.     the use of UNIX style option strings.  The option string is always 
  157.     the first argument after the command and usually begins with a "-".  
  158.     See the Command Summary for the options available with each command.
  159.  
  160.       If you are used to MSDOS switches and find this awkward you can 
  161.     insert the following line in your AUTOEXEC.BAT file:
  162.  
  163.         SET SWITCH=/     (No space before or after "=")
  164.  
  165.     All commands except CHMOD and READ will then recognize a "/" as an 
  166.     option delimiter.  If you don't use this feature, you can use slashes 
  167.     in path names, as in UNIX, and they will be converted to back slashes.
  168.  
  169.  
  170.  
  171.     INSTANT HELP:
  172.  
  173.       This document has now been keyed for quick command searches and
  174.     a HELP.BAT file has been included.  To obtain on-line help, type 
  175.     "help" and the name of the subject with which you want help.  In
  176.     addition, a brief summary of most commands can be obtained by typing 
  177.     the name of the command followed by a "-?". 
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.     USING DOSNIX:
  185.  
  186.       DOSNIX is based on UNIX although the author has simplified some 
  187.     commands and enhanced others.  Other commands have been modified
  188.     slightly to make them more compatible with MSDOS. If you are familiar 
  189.     with UNIX you should have no problem with DOSNIX. If you are not 
  190.     familiar with UNIX, books on the subject are available in most book 
  191.     stores.  My own personal favorite, if you can still find it, is:
  192.  
  193.                 UNIX SYSTEM V PRIMER
  194.                 Waite, Martin & Pratha
  195.                 Howard W. Sams & Co., Inc.
  196.  
  197.     This book offers a lightly humorous treatment of UNIX and much of it 
  198.     is applicable to DOSNIX.
  199.  
  200.       DOSNIX has a great many options and features, which can be 
  201.     bewildering to the novice user.  Pick out the commands and options 
  202.     you need the most and get familiar with them before moving on.  LS 
  203.     is a great directory lister and it is a lot fun to play around with, 
  204.     but the -l option is all most people  will ever need.  The same is 
  205.     true with other commands. The options are there if you need them but 
  206.     don't feel you need to learn every one.
  207.  
  208.       You can experiment with DOSNIX by making a scratch directory or 
  209.     floppy and playing around with different commands. This procedure is 
  210.     highly recommended for destructive commands such as RM and DB.
  211.  
  212.  
  213.     COMPATIBILITY:
  214.  
  215.       DOSNIX was written and tested using an XT clone with Phoenix BIOS 
  216.     and MSDOS 3.1 and 3.3.  It was written very conservatively and should 
  217.     be upwardly compatible with with MSDOS 4.x, 5.x and most AT and 386
  218.     class machines.  Compatibility with MSDOS 2.x is not guaranteed.
  219.     Some utilities, such as READ and CLR, use BIOS level screen and 
  220.     keyboard functions and require an IBM compatible BIOS.  Because all 
  221.     utilities use small or medium memory models, they should not require 
  222.     more than 256k of memory to run. 
  223.  
  224.  
  225.     NOTE:
  226.  
  227.     UNIX is a registered trademark of AT&T Corporation.
  228.     MSDOS is a registered trademark of Microsoft Corporation.
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.     SUPPORT:
  238.  
  239.       I can be reached by E-MAIL on GENIE (G.VROOMAN), or CompuServe 
  240.     (70304,2223).  Or you can write to me at the address below:
  241.  
  242.                 Gerald M. Vrooman
  243.                 6400 NY RT 79
  244.                 Chenango Forks, NY
  245.                 13746
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253. ~stdin  ~stdout
  254.  
  255.  
  256.             STANDARD INPUT (STDIN) AND STANDARD OUTPUT (STDOUT)
  257.  
  258.  
  259.       DOSNIX utilities make extensive use of STDIN and STDOUT.  STDIN
  260.     is the keyboard unless you decide to redirect it.  STDOUT is the
  261.     screen unless you decide to redirect it.  Redirection is done by
  262.     using the MSDOS operators; <, >, >> and |.
  263.  
  264.     <     used with a program that normally reads from STDIN.  It 
  265.         tells MSDOS to use the contents of a file for STDIN.
  266.         For example: 
  267.  
  268.             more < dosnix.doc
  269.  
  270.           
  271.     >    writes STDOUT to a file.  For example:
  272.  
  273.             cat dosnix.doc
  274.  
  275.         writes DOSNIX.DOC to the screen, while
  276.  
  277.             cat dosnix.doc > another.doc
  278.  
  279.         copies DOSNIX.DOC to ANOTHER.DOC.
  280.  
  281.  
  282.     >>    appends STDOUT to an existing file or writes STDOUT
  283.         to a new file.  For example:
  284.  
  285.             cat quickref.doc >> dosnix.doc
  286.  
  287.         appends QUICKREF.DOC to DOSNIX.DOC.  Unfortunately
  288.         this operator will leave an unwanted CTRL-Z between
  289.         the two files.  For this reason, DOSNIX includes an 
  290.         APP command.
  291.  
  292.  
  293.     |    The pipeline operator. Uses STDOUT as STDIN for a
  294.         second program.  For example:
  295.  
  296.             cat *.doc | read
  297.  
  298.         pipes all files with an extension of .DOC to READ.
  299.  
  300.  
  301.  
  302.       UNIX and DOSNIX provide an additional command, TEE, which
  303.     will write STDOUT to the screen and store it in a file at
  304.     the same time.  For example:
  305.  
  306.             cat dosnix.doc | tee another.doc
  307.  
  308.     writes DOSNIX.DOC to the screen and stores it in ANOTHER.DOC.
  309.  
  310.  
  311.  
  312. ~commands
  313.  
  314.  
  315.  
  316.  
  317.                         LIST OF DOSNIX COMMANDS
  318. -------------------------------------------------------------------------------
  319.  
  320.  
  321.         APP             append standard input to file(s).
  322.  
  323.         CAT             Copy text file(s) to standard output.
  324.  
  325.         CHMOD           Modify attribute(s) of file.
  326.  
  327.         CLR             Set screen foreground, background and border colors.
  328.  
  329.         CP              Copy file to new file or directory.
  330.  
  331.         CPDIR           Copy directory and all subdirectories. *
  332.  
  333.         DB              Delete all files except specified files.
  334.  
  335.     DF        Display free space remaining on disk. *
  336.  
  337.     DU               Display amount of disk space used. *
  338.  
  339.     EDC        Easy Directory Change.
  340.  
  341.         FFIND           Find all copies of file in specified path.
  342.  
  343.         GET             Find all filenames containing specified string. *
  344.  
  345.     HEAD        Display the first few lines of a file. *
  346.  
  347.         LS              List contents of directory.
  348.  
  349.         MV              Move file to new file or directory.
  350.  
  351.         MVDIR           Move directory and all subdirectories to new location.
  352.  
  353.         READ            Display text file in page format.
  354.  
  355.         RM              Remove file(s).
  356.  
  357.         RN              Rename file or directory.
  358.  
  359.     SGREP        Search  text file(s) for specified string. *
  360.  
  361.     SPLIT        Split a text file into several smaller files. *
  362.  
  363.     TAIL        Display the last few lines of a file. *
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.         TEE             Copy standard input to standard output and file(s).
  372.  
  373.         TOLOWER         Convert standard input to lower case.
  374.  
  375.         TOUCH           Modify file time and date.
  376.  
  377.         TOUPPER         Convert standard input to upper case.
  378.  
  379.     WC        Count lines, words and characters in a file. *
  380.  
  381.  
  382.         * Enhanced version only.
  383.  
  384.  
  385.  
  386.  
  387.  
  388.                         SUMMARY OF DOSNIX COMMANDS
  389. ------------------------------------------------------------------------------
  390. ~app
  391.  
  392.  
  393.     NAME:
  394.  
  395.     APP     Append standard input to file.
  396.  
  397.  
  398.     SYNTAX:
  399.  
  400.     app  file1 [file2..file5]               Appends standard input to up 
  401.                         to five files.
  402.  
  403.  
  404.  
  405.     DESCRIPTION:
  406.  
  407.       APP is a non-UNIX command meant to replace the DOS ">>" operator.  
  408.     Using ">>" to append files will not remove the CTRL-Z from the end of 
  409.     the first file before appending, but using APP will.  APP can be  used
  410.     with the dos "|" operator and any command which writes to standard 
  411.     output.  For example:
  412.  
  413.                 cat file1 file2 | app file3
  414.  
  415.     appends the output of CAT to file3.  See CAT.
  416.  
  417.                 app < file1 file2     
  418.  
  419.     appends file1 to file2.
  420.  
  421.     WARNING:  Do not use "app < file1 > file2".  This will erase file2.
  422.  
  423.     APP is meant for use with text files only and use with binary files 
  424.     is not recommended.
  425.  
  426.  
  427.  
  428. ~cat
  429.  
  430.  
  431.     NAME:
  432.  
  433.     CAT     Copy text file(s) to standard output.
  434.  
  435.  
  436.     SYNTAX:
  437.  
  438.  
  439.     cat                             Copies standard input to standard 
  440.                     output.
  441.  
  442.     cat file1                       Copies file1 to standard output. 
  443.                     Usually the screen.
  444.  
  445.     cat file1 file2 > file3         Concatenates file1 and file2 and 
  446.                     stores in file3.
  447.  
  448.  
  449.  
  450.  
  451.     DESCRIPTION:
  452.  
  453.       CAT reads one or more files and copies them to STDOUT.  If no input 
  454.     file is given, CAT will read STDIN until a CTRL-Z is found.  For 
  455.     example:
  456.  
  457.                         cat *.c > csource.txt
  458.  
  459.     will concatenate all files with an extension of .C and store
  460.     them in CSOURCE.TXT.
  461.  
  462.                         cat file1 file2 | app file3
  463.  
  464.     concatenates file1 and file2 and appends the result to file3.
  465.  
  466.                         cat > temp
  467.  
  468.     stores whatever is typed on the keyboard in TEMP and is similar to the 
  469.     DOS command COPY CON TEMP.  CTRL-Z can be used to terminate this 
  470.     operation.
  471.  
  472.     Some versions of CAT will copy the CTRL-Z at the end of    each file, 
  473.     leaving you stuck with a lot of unwanted CTRL-Z's in your new file.  
  474.     This version wont.
  475.  
  476.     CAT is meant for use with text files only and use with binary files 
  477.     is not recommended.
  478.  
  479.  
  480.  
  481. ~chmod
  482.  
  483.  
  484.     NAME:
  485.  
  486.     CHMOD   Change attribute(s) of a file.
  487.  
  488.  
  489.     SYNTAX:
  490.  
  491.     chmod [+x] file1                Adds attribute x to file1
  492.  
  493.     chmod [-x] file1                Removes attribute x from file1
  494.  
  495.  
  496.  
  497.     ATTRIBUTES:
  498.  
  499.     +a                              Set archive bit.
  500.     -a                              Clear archive bit.
  501.     +h                              Add hidden attribute.
  502.     -h                              Remove hidden attribute.
  503.     +r                              Add read only attribute.
  504.     -r                              Remove read only attribute.
  505.     +s                              Add system attribute.
  506.     -s                              Remove system attribute.
  507.  
  508.  
  509.  
  510.     DESCRIPTION:
  511.  
  512.       CHMOD is used to modify the attributes of a file.  Attributes can 
  513.     be grouped together in any sequence but each attribute must be 
  514.     preceded by a "+" or a  "-".  For example:
  515.  
  516.                         chmod -a *.*
  517.  
  518.     removes the archive bit from all files in the current directory,
  519.  
  520.                         chmod -a+r list.txt
  521.  
  522.     removes the archive bit and makes LIST.TXT read only,
  523.  
  524.                         chmod +h+s widget.com
  525.  
  526.     makes WIDGET.COM a hidden, system file.
  527.  
  528.  
  529.  
  530. ~clr
  531.  
  532.  
  533.     NAME:
  534.  
  535.     CLR   Set foreground, background and border colors.
  536.  
  537.  
  538.  
  539.     SYNTAX:
  540.  
  541.     clr                Clears screen without resetting 
  542.                     attributes.
  543.  
  544.     clr [-ab] fgnd [bkgnd [brdr]]   Sets screen foreground, background
  545.                     and border colors.
  546.  
  547.  
  548.     OPTIONS:
  549.  
  550.         
  551.     a        ANSI compatible mode.
  552.                 
  553.     b               Set foreground Bold attribute to ON.
  554.  
  555.  
  556.  
  557.     DESCRIPTION:
  558.  
  559.       CLR sets the screen foreground, background and border colors to 
  560.     those specified by the user.  The following colors are supported:
  561.  
  562.         BLACK   RED     GREEN   YELLOW  AMBER
  563.  
  564.         BLUE    MAGENTA CYAN    WHITE
  565.  
  566.     Because yellow is high intensity amber, it is impossible to have a 
  567.     yellow background.  Border colors will vary with the type of monitor.
  568.  
  569.       If only a foreground color is specified the background color 
  570.     defaults to black.  The border color always defaults to the background 
  571.     color.  To change the background color you need to specify the 
  572.     foreground color.  To change the border color you need to specify 
  573.     foreground and background colors.
  574.  
  575.       For ease of use CLR will recognize the first three letters of any 
  576.     color name.  For example:
  577.  
  578.                         clr yel
  579.  
  580.     sets the foreground color to yellow with a black background and border,
  581.  
  582.                         clr whi blu
  583.  
  584.     sets the foreground color to white and the background and border 
  585.     colors to blue, and
  586.  
  587.                         clr red whi red
  588.  
  589.     sets the foreground color to red, the background color to white and 
  590.     the border color to red.
  591.  
  592.  
  593.  
  594.  
  595.  
  596.       The -b option sets the intensity of the foreground color to high.  
  597.     For example:
  598.  
  599.                         clr -b red
  600.  
  601.     sets the foreground color to high intensity red.
  602.  
  603.       If the screen is cleared after using CLR, and ANSI.SYS is not 
  604.     installed, the screen will return to normal. This can be avoided by 
  605.     using CLR without arguments to clear the screen, or by installing 
  606.     ANSI.SYS.
  607.  
  608.       If ANSI.SYS is installed, CLR will detect it and generate the needed 
  609.     escape codes.  A -a option has been provided to force ANSI mode if 
  610.     needed.  
  611.  
  612.  
  613.  
  614.  
  615. ~cp
  616.  
  617.  
  618.     NAME:
  619.  
  620.     CP      Copy file to new file or directory.
  621.  
  622.  
  623.  
  624.     SYNTAX:
  625.  
  626.     cp [-abcfinopstv] file1 file2    Copies file1 to file2
  627.  
  628.  
  629.         cp [-abcfinopstv] file1 [file2..filen] dir
  630.  
  631.                     Copies any number of files to 
  632.                     directory.
  633.  
  634.         cp [-abcfinopstv] dir1 dir2      Copies files in dir1 to dir2.
  635.  
  636.     cp -m source dest1 [dest2..destn]
  637.  
  638.                           Makes multiple copies of source.
  639.                     Destination may  be  either file or
  640.                     directory.
  641.  
  642.  
  643.     OPTIONS:
  644.  
  645.     a               Copy hidden and system files.  Prompt
  646.                         before overwriting protected files.
  647.         b               Copy only files with archive bit set.
  648.         c               Clear archive bits after copying.
  649.         f               Copy hidden and system files.  Overwrite
  650.                         protected files without prompting.
  651.         i               Interactive mode. Prompts before copying.
  652.         m               Make multiple copies of single file.
  653.         n               No delete. Do not overwrite existing files.
  654.         o               Overwrite existing files without prompting.
  655.                         Does not overwrite protected files.
  656.         p               Preserve file attributes when copying.
  657.         s               Copy files without echoing to screen.
  658.         t               Update file time and date when copying.
  659.         v               Verify files when copying.
  660.  
  661.  
  662.  
  663.     DESCRIPTION:
  664.  
  665.       CP copies one or more files to a new file or directory. If more 
  666.     than one source file is specified or wildcards are used, the last  
  667.     argument must specify an existing directory or an error  will  occur. 
  668.     If a directory is used as a source, all files in the directory will 
  669.     be copied but subdirectories will not be copied.
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.       Each file is echoed to the screen as it is copied and existing  
  677.     files  are not overwritten  without prompting.  If an existing file 
  678.     is protected the user will be notified and prompted a second time 
  679.     before the file is overwritten. Options are provided to override 
  680.     these features when desired.
  681.  
  682.       If a Disk Full error occurs while copying files to a removable 
  683.     device, CP will prompt the user for a new diskette.  The user may 
  684.     either continue, format a new disk or abort at this point.  If a new 
  685.     disk is inserted, CP will create the directory if needed. To format 
  686.     disks, CP needs    to access COMMAND.COM and FORMAT.COM, so set COMSPEC 
  687.     to point to your copy of COMMAND.COM and make sure FORMAT.COM is in a 
  688.     directory pointed to by PATH.
  689.  
  690.       The -i option will prompt the user for a yes or no answer before 
  691.     copying each file.  Used with wildcards or directory names this option 
  692.     provides an interactive method of copying files.
  693.  
  694.       Hidden and system files can be copied using the -a option or the 
  695.     -f option.  If the -f option is used all existing files, even 
  696.     protected files, will be overwritten without prompting the user.
  697.  
  698.       The -o option can be used overwrite existing files but will not 
  699.     overwrite protected files.  If the -n option is used, no files will 
  700.     be overwritten and the user will not be prompted.  The -n option 
  701.     overrides all other options in this respect.
  702.  
  703.       If the -s option is used, files will not be echoed to the screen 
  704.     when copying.  This option can be used with the -o, -f or -n options 
  705.     when no screen output is desired.
  706.  
  707.       Unlike the MV command, file attributes are not carried over and
  708.     the archive bit of the new file is set. The -p option can be used 
  709.     to preserve the attributes of the old file.
  710.  
  711.       In normal use CP will carry over the time and date of the old
  712.     file.  If the -t option is used, the new file will be stamped
  713.     with the current DOS time and date.
  714.  
  715.       A -v option has been added to turn on the DOS verify flag before
  716.     copying.  When the copy is complete the verify flag is restored
  717.     to its former state.
  718.  
  719.  
  720.  
  721.  
  722.  
  723.       CP can be used for backups with the -b option.  When this option 
  724.     is used, only  archive files are copied.  The -c option will clear 
  725.     the archive bit on both files after the copy is made.  For example:
  726.  
  727.             cp -bco *.* a:\
  728.  
  729.     copies only files in the current directory which have not been backed 
  730.     up.  The archive bits are cleared and any previously existing files 
  731.     on drive A are overwritten.
  732.  
  733.       Sometimes it is  necessary to  copy a  file to  several different 
  734.     drives or directories.  CP can be used with the  -m option to make 
  735.     as many copies of a file as needed.
  736.  
  737.  
  738.  
  739.  
  740. ~db
  741.  
  742.  
  743.     NAME:
  744.  
  745.     DB      Delete all files except specified files.
  746.  
  747.  
  748.     SYNTAX:
  749.  
  750.     db file1..filen                 Deletes all files in directory
  751.                                                 except specified files.
  752.  
  753.  
  754.     OPTIONS:        None
  755.  
  756.  
  757.  
  758.     DESCRIPTION:
  759.  
  760.       DB will delete all files in a directory except the files given as 
  761.     an argument.  Wildcards can be used in arguments but path names are 
  762.     not supported.  DB can only be used in the current directory.  For 
  763.     example:
  764.  
  765.                         db *.zip
  766.  
  767.     will delete all files that do not have an extension of .ZIP and, 
  768.     in fact, DB is an excellent tool for cleaning up around ZIP files 
  769.     and other archives.
  770.  
  771.       DB works by assigning a +h attribute to the specified files and 
  772.     then removing all normal files.  The remaining files are then 
  773.     "unhidden".  This can cause a problem  with previously existing 
  774.     hidden files.  If DB encounters any hidden files it, will safely 
  775.     abort leaving the directory unchanged.  You will then have to use RM.
  776.  
  777.         WARNING: DB can be a deadly weapon if used carelessly.  Use it only 
  778.     when you are sure of what you are doing.
  779.  
  780.  
  781.  
  782.  
  783. ~edc
  784.  
  785.  
  786.     NAME:
  787.  
  788.     EDC    Easy Directory Change
  789.  
  790.  
  791.     SYNTAX:
  792.  
  793.     edc [-options] [d:]dir1            Changes directory to dir1.
  794.     edc -rn dir1 dir2            Renames dir1 to dir2.
  795.  
  796.  
  797.     OPTIONS:
  798.  
  799.     k    Do not pause when screen is full.
  800.     l    Scan drive and list directories.
  801.     m    Create directory and update path file.
  802.     n    Display directory tree without graphics.
  803.     q    Quick scan.  Do not look for extensions.
  804.     r    Remove directory and update path file.
  805.     rn    Rename directory and update path file.
  806.     s    Scan drive. No screen output.
  807.     t    Display directory tree with graphics.
  808.     ?    Display help screen.
  809.  
  810.  
  811.  
  812.     DESCRIPTION:
  813.  
  814.       EDC allows you to change directories by entering only the directory 
  815.     name rather than the whole path name.  For example, if you have a 
  816.     directory  named \MODEM\FILES\ZIP you can reach the directory 
  817.     from anywhere on your drive by entering:
  818.  
  819.             edc zip
  820.  
  821.     instead of:
  822.  
  823.             cd \modem\files\zip
  824.  
  825.     EDC can also find directories if given just the first few letters of  
  826.     the name.  If  you  have a directory named \GAMES\POKER\BIGDECK, 
  827.     entering:
  828.  
  829.             edc big
  830.  
  831.     will  find it.
  832.  
  833.           If  EDC finds  more than one directory with the same name, it 
  834.     will display all directories found and  prompt you  to choose one.
  835.     A new menu has been installed with both a selector bar and a speed
  836.         search feature.  To use speed search, enter the next letter of the
  837.     directory name to narrow the search or use the backspace key to
  838.     widen the search.
  839.  
  840.  
  841.  
  842.  
  843.  
  844.       EDC will locate directories on any hard drive without using a 
  845.     drive spec.  To change to a directory on a floppy  drive, or just
  846.     to speed things up, you can enter the drive spec along with the 
  847.     directory name with no space or slash between them.  For example 
  848.     if you are currently using drive C and you wish to change to 
  849.     B:\GAMES\BOARD\CHECKERS you can enter:
  850.  
  851.             edc b:checkers
  852.         or
  853.  
  854.             edc b:check
  855.  
  856.     A drive spec can be terminated by a semicolon as well as a colon.
  857.     This allows you to change drives without hitting the shift key.
  858.     For example:
  859.  
  860.             edc b;check
  861.  
  862.  
  863.       To install EDC, copy EDC.EXE to the root directory of your boot 
  864.     drive or to any directory pointed  to by the DOS PATH parameter. 
  865.     Then enter:
  866.  
  867.             edc -s
  868.  
  869.        EDC will scan all hard drives for directories and store    them in  
  870.     a file named PATH.EDC which is maintained in the root directory of
  871.     drive C.  Because EDC refers to this file to find directories, 
  872.     it should not be removed.  To scan floppy drives you can enter:
  873.  
  874.             edc -s d:
  875.  
  876.     where "d" is the letter of the drive you are scanning. 
  877.  
  878.  
  879.        If EDC does not find a copy of PATH.EDC when changing directories,
  880.     it will automatically scan the drive for you.  The -s option can 
  881.     be used for updates.  You can lock out undesired drives by setting 
  882.     the environment    variable EDNOSCAN to the letters of the drives that 
  883.     you want to ignore.  For example:
  884.  
  885.             set ednoscan=df
  886.  
  887.     will cause EDC to ignore drives D and F.  
  888.  
  889.  
  890.       If a full path name or one of the standard  DOS directory symbols 
  891.     ("\",  "." or "..") is given, EDC will change directories immediately
  892.     without checking PATH.EDC.
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.       If the -t option is used, EDC will display the directory tree 
  900.     on your screen while it    is scanning.  The screen will pause after 
  901.     displaying each page of information and give you an opportunity
  902.     to choose a directory.  PATH.EDC will not be updated unless the 
  903.     -k option is used.  For redirection to non-IBM printers, the -n 
  904.     option will display the directory tree without using graphics 
  905.     characters.  The -l option will display a list of directories 
  906.     instead of a tree.  
  907.  
  908.       The -l, -n, and -t options are different from the -s option
  909.     in one respect.  If no drive is specified only the current 
  910.     drive will be scanned.  If the -s option is combined with any
  911.     of these options all hard drives will be scanned.
  912.  
  913.  
  914.       If none of your directory names have extensions you can use
  915.     the -q option with any of the above options for quicker scans.
  916.     For example:
  917.  
  918.             edc -sq    or    edc -tq
  919.  
  920.  
  921.      The -m and -r options can be used to create and remove directories.
  922.     Rules for path names are the same as for DOS and PATH.EDC will be 
  923.     updated after each change.  A -rn option has been added to rename 
  924.     directories.  Old and new directories should be be in the same parent 
  925.     directory.  If other commands are used to create and remove 
  926.     directories you will have to rescan the affected drive.
  927.  
  928.  
  929.     NOTE: EDC uses the MSDOS LASTDRIVE parameter to determine the 
  930.     number of available drives on your system.  For best performance 
  931.     insert the following line in CONFIG.SYS:
  932.  
  933.             LASTDRIVE = x
  934.  
  935.         where x is the letter of your last logical drive.
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942. ~ffind
  943.  
  944.  
  945.     NAME:
  946.  
  947.     FFIND   Find all copies of file in specified path.
  948.  
  949.  
  950.     SYNTAX:
  951.  
  952.     ffind [-abdfiklmnr?] [+-=date] [path] filename    
  953.  
  954.                         Finds all files in path with
  955.                             the same name.
  956.  
  957.     ffind -e "command {}" [+-=date] [path] filename   
  958.  
  959.                         Executes DOS command when each
  960.                         file is located.
  961.  
  962.     OPTIONS:
  963.  
  964.     a               Include hidden and system files in search.
  965.         b               Batch mode, disable warning prompt.
  966.         d               Include directories in search.
  967.     e        Execute DOS command.
  968.         f               Include floppy drives in search.
  969.         i               Remove files interactively.
  970.     k        No highlights or screen pauses.
  971.         l               Display in long format, showing
  972.                         attributes, size, time and date.
  973.         m               Display totals for each directory.
  974.     n        Display output in lower case.
  975.         r               Remove files when found.
  976.         ?               Display help screen.
  977.  
  978.  
  979.  
  980.     DESCRIPTION:
  981.  
  982.       FFIND will search the specified path for all copies of a given 
  983.     file.  "path" should be a valid directory name or drive spec. If 
  984.     "path" is omitted the search will begin from the root directory of 
  985.     the current drive.  If "*:" is used for a path FFIND will search all 
  986.     available hard drives. Wild cards can be used in file names and all 
  987.     subdirectories will be searched. For example:
  988.  
  989.                 ffind *.bak
  990.         or
  991.                 ffind \ *.bak
  992.  
  993.         will search the entire current drive for all files named with
  994.         an extension of .BAK.
  995.  
  996.                 ffind d: temp
  997.  
  998.         will search all of drive D for all files named TEMP,
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.                 ffind *: temp
  1006.  
  1007.         will search all hard drives for all files named TEMP, and
  1008.  
  1009.  
  1010.         ffind \games poker.exe
  1011.  
  1012.         will search the directory \GAMES and all subdirectories for all files 
  1013.     named POKER.EXE.
  1014.  
  1015.  
  1016.       The -r option will delete files when found.  For example:
  1017.  
  1018.         ffind -r c:\ *.bak
  1019.  
  1020.     will search drive c for all files with an extension of .BAK and 
  1021.     remove them.  The -i option is similar to the -r option except that 
  1022.     the user is prompted before each file is removed.  The -r option 
  1023.     provides an initial warning prompt before execution.  If you ever 
  1024.     type "-r" when you really  meant to type "-l" you will appreciate 
  1025.     the need for this.  The -b option will override this feature for 
  1026.     unattended batch file operation.  This option is intended for use in
  1027.     batch files only.  Don't use it from the keyboard, or some day you 
  1028.     will type in "ffind -rb" when you least intend to.  
  1029.  
  1030.       FFIND will locate hidden and system files with the -a option  but 
  1031.     the -r option cannot be used to remove protected files.  Use the -i 
  1032.     option to remove these files.
  1033.  
  1034.           The -l option can be used to display complete information on each 
  1035.     file located and the -k option will disable highlights and screen
  1036.     pauses, allowing the output to be redirected.
  1037.  
  1038.       The -m option will display the total number of matching files in 
  1039.     each directory along with the total number of bytes used.  For 
  1040.     example:
  1041.  
  1042.         ffind -almk c:\ *.* > disk.map
  1043.  
  1044.     will create a complete usage map of the user's hard disk and store 
  1045.     it in DISK.MAP.
  1046.  
  1047.       When "*:" is used as a drive spec, FFIND will ignore floppy drives 
  1048.     unless the -f option is used.  This eliminates the annoying wait
  1049.     on empty floppy drives.  Floppy drives can still be searched
  1050.     directly without using the -f option.
  1051.  
  1052.       A semicolon can now be used to terminate a drive spec in place
  1053.     of a colon.  In addition FFIND will consider ";;" equivalent to
  1054.     "*:" and search all drives.  These modifications save a few
  1055.     key strokes.
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.     NOTE: FFIND uses the MSDOS LASTDRIVE parameter to determine the 
  1062.     number of available drives. If FFIND attempts to search non-existent 
  1063.     drives insert the following line in CONFIG.SYS:
  1064.  
  1065.             LASTDRIVE = x
  1066.  
  1067.         where x is the letter of your last logical drive.
  1068.  
  1069.  
  1070.        FFIND can also locate files based on date.  The date parameter
  1071.     should be entered after any switches and before the path and file 
  1072.     arguments.  The date should be preceded by a "+", "-" or "=".
  1073.     For example:
  1074.  
  1075.             ffind -07/04/91 *.*
  1076.  
  1077.     will locate all files created or modified since July 4th, 1991.
  1078.     
  1079.             ffind -l +07/04/91 *.txt
  1080.  
  1081.     will locate all  .TXT files older than July 4th, 1991 and display
  1082.     them in long format.
  1083.  
  1084.             ffind -r =07/04/91 d; *.* 
  1085.  
  1086.     will locate and remove all files on drive D which are dated
  1087.     July 4th, 1991. 
  1088.  
  1089.         FFIND can locate files by number of days back as well as 
  1090.     actual date.  For example:
  1091.  
  1092.             ffind =5 *.*
  1093.  
  1094.     will locate all files created exactly five days ago and 
  1095.  
  1096.             ffind -5 *.* 
  1097.  
  1098.     will locate all files newer than five days.
  1099.  
  1100.  
  1101.  
  1102.       FFIND now has a -e option which will cause the program to shell 
  1103.     to DOS and execute a command whenever a file is located.  The name 
  1104.     of the located file can be parsed into the command argument by 
  1105.     inserting a pair of braces wherever you want the file to be used.  
  1106.     For example:
  1107.  
  1108.             ffind -e "pkunzip {}" *.zip
  1109.  
  1110.     would unzip all the ZIP files on the current drive.  If a null
  1111.     argument is used,  FFIND will shell to DOS in the directory in
  1112.     which the file is located, giving you an opportunity to do
  1113.     whatever you want.  For example:
  1114.  
  1115.                 ffind -e "" test.txt
  1116.  
  1117.  
  1118. ~ls
  1119.  
  1120.  
  1121.     NAME:
  1122.  
  1123.     LS      List contents of directory.
  1124.  
  1125.  
  1126.     SYNTAX:
  1127.  
  1128.       ls [-124acdefklnprtuxz?] [dir1]..[dirn]   Displays contents of dir1..dirn
  1129.  
  1130.       ls [-124acdefklnprtuxz?] [fil1]..[filn]   Lists fil1..filn
  1131.  
  1132.  
  1133.  
  1134.     OPTIONS:
  1135.  
  1136.     1               Display one entry per line.
  1137.     2        Display two entries per line with size and date.
  1138.     4        Display four entries per line showing size only.
  1139.         a               Display hidden and system files.
  1140.         c               Display files sorted down each column.
  1141.     d        Display file totals and free disk space. 
  1142.         e               Sort file names by extension.
  1143.         f               Display files only. Omit directories.
  1144.         k               Do not pause when screen is full.
  1145.         l               Display files in long format, showing
  1146.                         name, attributes, size, time and date.
  1147.     n        Display file names in lower case.
  1148.         p               Put a back slash after each subdirectory.
  1149.         r               Reverse order of sort.
  1150.         t               Sort files by time and date.
  1151.         u               Do not sort files.
  1152.     x        Display files sorted across screen.
  1153.     z        Sort files by size.
  1154.         ?               Display help screen.
  1155.  
  1156.  
  1157.  
  1158.     DESCRIPTION:
  1159.  
  1160.       LS displays the contents of a directory sorted across the screen 
  1161.     in five columns.  The arguments can be either files or directories. 
  1162.     If wildcards are used, all matching files will be listed.  Multiple
  1163.     arguments are accepted and more than one directory can be displayed.
  1164.     If no arguments are used, the contents of the current directory will
  1165.     be displayed.  If no options are used, -xpd will be assumed and file 
  1166.     totals will be displayed at the bottom of the listing.
  1167.  
  1168.           The -x option will display files sorted across the screen and
  1169.     is used in the default mode. The -c option will display files sorted 
  1170.     down each column rather than across each row.  If the  -1 (one) option 
  1171.     is used, one entry per line is displayed showing only the file name.
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.       If the -l option is used, one entry per line is displayed, showing 
  1179.     name, attributes, size of file in bytes, and time and date of last 
  1180.     modification.  A modified DOS format is used which is more readable 
  1181.     than the standard UNIX format.  Attributes displayed in this format 
  1182.     are:
  1183.  
  1184.                         <DIR>           Subdirectory.
  1185.                         A               Archive bit is set.
  1186.                         R               File is read only.
  1187.                         H               File is hidden.
  1188.                         S               File is system.
  1189.  
  1190.     At the  end of each display the size of the directory in bytes is
  1191.     shown. The size of any subdirectories is not included in this figure.
  1192.     Also shown is the remaining disk space.
  1193.  
  1194.       LS now has two new display formats.  The -2 option will display
  1195.     two entries per line showing file size and date and the -4 option
  1196.     will display four entries per line showing size only.  In these
  1197.     two modes the files are sorted down each column.  The -x option
  1198.     can be combined with either of these options to display files
  1199.     sorted horizontally.
  1200.  
  1201.  
  1202.           LS will pause after displaying one page of information. Typing "q" 
  1203.       at this point will terminate the program. Typing any other key will  
  1204.     continue the display.  The -k option will suppress this feature and 
  1205.     provide a continuous output which can be  redirected.  In addition,
  1206.     the -k option will eliminate any graphics characters, allowing the
  1207.     output to be redirected to a non-IBM printer.
  1208.  
  1209.  
  1210.       If the -a option is used, any hidden or system files contained in 
  1211.     the directory are also displayed.  The -f option will display file
  1212.     names only and omit any subdirectories.  The -p option will append a 
  1213.     back slash  to the end of each subdirectory name, allowing the user 
  1214.     to distinguish between files and  subdirectories.  This option will
  1215.     not work with the -l option.  
  1216.  
  1217.  
  1218.       The -t option will will sort files by time and date and can be used 
  1219.     with the -r option to display newest files first.  The -e option 
  1220.     will sort file names by extension and the -u option will provide 
  1221.     unsorted output if so desired.
  1222.  
  1223.  
  1224.       The -d option can be used to to display file totals at the end
  1225.     of each directory and the -n option will provide lower case output 
  1226.     if needed.
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.       LS can  be custom configured by setting the environment
  1233.     variable "LSCFG" to the desired options.  For example:
  1234.  
  1235.             set lscfg=le
  1236.  
  1237.     will cause LS to default to the long format, with files sorted by 
  1238.     extension, unless an option is specified on the command line. 
  1239.  
  1240.  
  1241.       LS is now EDC compatible.  If EDC is installed, LS will accept 
  1242.     partial directory names. LS will first look for an immediate directory
  1243.     with the specified name.  If no directory is found it will check 
  1244.     PATH.EDC for any matches.  If no matches are found it will then check
  1245.     for a file with the given name.  When using this feature the user is
  1246.     limited to one argument.  If more than one directory is specified on 
  1247.     the command line, PATH.EDC will not be searched.  This feature has 
  1248.     been made invisible so that LS can still be used as a stand-alone 
  1249.     directory lister.  As a result no error messages relating to EDC or 
  1250.     PATH.EDC will be displayed.
  1251.  
  1252.  
  1253.           This version of LS will not recursively list subdirectories but 
  1254.     the FFIND command can be used to obtain the same result.  For
  1255.     example:
  1256.  
  1257.         ffind -lm dirname *.*
  1258.  
  1259.         ffind -lm . *.*
  1260.  
  1261.  
  1262.  
  1263. ~mv
  1264.  
  1265.  
  1266.     NAME:
  1267.  
  1268.     MV      Move file(s) to new file or directory.
  1269.  
  1270.  
  1271.     SYNTAX:
  1272.  
  1273.     mv [-afnost?] file1 file2       Moves (renames) file1 to file2.
  1274.  
  1275.     mv [-afnost?] file1 [file2..filen] dir1
  1276.  
  1277.                     Moves any number of files to dir1.
  1278.  
  1279.     mv dir1 dir2                    Renames dir1 to dir2. dir1 and dir2 
  1280.                     must be in the same parent directory.
  1281.  
  1282.  
  1283.     OPTIONS:
  1284.  
  1285.     a               Move read only, hidden and system files.
  1286.                         Prompt before overwriting protected files.
  1287.         f               Move and overwrite all files without prompting.
  1288.         i               Interactive mode. Prompt before moving.
  1289.         n               No delete. Do not overwrite existing files.
  1290.         o               Overwrite existing files without prompting.
  1291.         s               Move files without echoing to screen.
  1292.         t               Update file time and date when moving.
  1293.         ?               Display help screen.
  1294.  
  1295.  
  1296.     DESCRIPTION:
  1297.  
  1298.       MV moves one or more files to a new file or directory. If more than 
  1299.     one source file is specified or wildcards are used, the last argument
  1300.     must  specify  an existing directory or an error will occur.  If a 
  1301.     directory is used as a source, all files in the directory will be
  1302.         moved but subdirectories will not be moved.
  1303.  
  1304.       Each file is echoed to the screen as it is moved and existing files
  1305.     are not overwritten  without prompting.  If an existing file is 
  1306.     protected the user will be notified and prompted a second time before 
  1307.     the file is overwritten. Options are provided to override these 
  1308.     features when desired.
  1309.  
  1310.       The -i option will prompt the user for a yes or no answer before 
  1311.     moving each file.  Used with wildcards or directory names this option 
  1312.     provides an interactive method of moving files.
  1313.  
  1314.  
  1315.  
  1316.  
  1317.       In normal use MV, ignores hidden and system files and prompts
  1318.     the user before moving read only files. Hidden and system files can 
  1319.     be moved using the -a option or the -f option.  The -a option will 
  1320.     move read only, hidden and system files without prompting but will 
  1321.     still prompt the user before overwriting protected files. If the -f 
  1322.     option is used all existing files, even protected files, will be 
  1323.     overwritten without prompting the user.
  1324.  
  1325.       The -o option can be used overwrite existing files without
  1326.     prompting but will not overwrite protected files.  If the -n option
  1327.         is used, no existing files will be overwritten and the user will not
  1328.         be prompted.  The -n option overrides all other options in this 
  1329.     respect.
  1330.  
  1331.       If the -s option is used, filenames will not be echoed to the 
  1332.     screen when moving.  This option can be used with the -o, -f or -n 
  1333.     options when no screen output is desired.
  1334.  
  1335.       In normal use MV will carry over the time and date of the old file.
  1336.     If the -t option is used, the new file will be stamped with the 
  1337.     current DOS time and date. Unlike the CP command, MV will also carry 
  1338.     over the attributes of the old file.
  1339.  
  1340.  
  1341.  
  1342.  
  1343. ~mvdir
  1344.  
  1345.  
  1346.     NAME:
  1347.  
  1348.     MVDIR   Move directory and all subdirectories to new location.
  1349.  
  1350.  
  1351.     SYNTAX:
  1352.  
  1353.     mv dir1 dir2                    Moves dir1 to dir2
  1354.  
  1355.  
  1356.  
  1357.     OPTIONS:
  1358.  
  1359.     s               Move files without echoing to screen.
  1360.         ?               Display help screen.
  1361.  
  1362.  
  1363.  
  1364.     DESCRIPTION:
  1365.  
  1366.       MVDIR will move a directory and all its subdirectories to the 
  1367.     specified target. If the target directory does not exist a new 
  1368.     directory will be created. If the target directory does exist a 
  1369.     directory will be created within the target directory having the 
  1370.     same name as the old directory.
  1371.  
  1372.       MVDIR has three modes of operation totally independent of user 
  1373.     input.  If both old and new directories are in  the same parent 
  1374.     directory, MVDIR will rename the old directory.  If old and new 
  1375.     directories are not in the same parent directory but reside on the 
  1376.     same drive, MVDIR will create the new directory structure, rename 
  1377.     the files and then remove the old directory. If old and new directories
  1378.         reside on different drives MVDIR will create the new directory 
  1379.     structure, copy the files over and then remove the old files and 
  1380.     directories.  If an error occurs in this last mode, such as a disk 
  1381.     full error, MVDIR will abort and leave the old directory intact.
  1382.  
  1383.  
  1384.  
  1385. ~read
  1386.  
  1387.  
  1388.     NAME:
  1389.  
  1390.     READ      Display text in page format.
  1391.  
  1392.  
  1393.     SYNTAX:
  1394.  
  1395.     read [-f][+#]                         Displays standard input one page 
  1396.                         at a time.
  1397.  
  1398.         read [+#][+\string] file1..filen    Displays contents of files  one 
  1399.                         page at a time.
  1400.  
  1401.     read dir                Lists directory and allows user
  1402.                         to select file to be read.
  1403.  
  1404.  
  1405.     OPTIONS:
  1406.  
  1407.     -f              Store standard input in temporary file
  1408.                          before displaying.
  1409.  
  1410.         +###            Begin displaying at line ###.
  1411.  
  1412.     +\string    Begin displaying at first occurrence of string.
  1413.  
  1414.  
  1415.  
  1416.     DESCRIPTION:
  1417.  
  1418.       READ is a text file viewer which can read from STDIN like the
  1419.     DOS MORE command, or directly from a file.  For example:
  1420.  
  1421.             read < dosnix.doc
  1422.  
  1423.     and
  1424.  
  1425.             read dosnix.doc
  1426.  
  1427.     will both display DOSNIX.DOC.  Wild cards and multiple arguments
  1428.     can be used to view several files in sequence.  For example:
  1429.  
  1430.             read *.doc
  1431.  
  1432.     can be used to page through all .DOC files, and
  1433.  
  1434.             read whats.new quickref.doc
  1435.  
  1436.     will first read WHATS.NEW, then QUICKREF.DOC.
  1437.  
  1438.       
  1439.  
  1440.  
  1441.  
  1442.  
  1443.       When READ begins, it will display one page of text and then pause. 
  1444.     The user can then enter one of the following commands:
  1445.  
  1446.                 <space>         Toggle continuous scroll.
  1447.  
  1448.                 <PgDn>          Clear screen and display next page.
  1449.  
  1450.                 ^D, D, ]      Display next half page of text.
  1451.  
  1452.                 Enter or        Display next line of text.
  1453.                 Down Arrow
  1454.  
  1455.                 <PgUp>, ^B      Clear screen and display previous page.
  1456.  
  1457.                 ^U, U,  [       Move back one half page.
  1458.  
  1459.         Up Arrow    Move back one line.
  1460.  
  1461.         Right Arrow    Shift screen one tab stop right.
  1462.  
  1463.         Left Arrow    Shift screen one tab stop left.
  1464.  
  1465.                 H, Backspace    Display help page.
  1466.  
  1467.                 ^L, .           Rewrite current page.
  1468.  
  1469.                 Home            Move to beginning of file.
  1470.  
  1471.                 End or $        Move to end of file.
  1472.  
  1473.                 N             Display next file.
  1474.  
  1475.         P         Return to previous file.
  1476.  
  1477.         F4              Select new file.
  1478.  
  1479.         \, F2        Search text for string.  Ignore case.
  1480.  
  1481.         |, ShF2        Search text for string.  Match exact case.
  1482.  
  1483.         /, F3        Search text for next occurrence of string.
  1484.  
  1485.         ?, F9           Search text for previous occurence of string.
  1486.  
  1487.                 -###            Move back ### lines.
  1488.  
  1489.                 +###            Move forward ### lines.
  1490.  
  1491.                 ###             Move to line number ###.
  1492.  
  1493.         !        Shell to DOS.
  1494.  
  1495.                 Q, Esc             Terminate the program.
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.       The escape key can be used to interrupt text searches and exit
  1502.     the help screen.  It will also terminate the program from the main
  1503.     menu.  F10 or Del can be used in place of Esc and  ^PgUp and ^PgDn
  1504.     can be used in place of Home and End.
  1505.  
  1506.       The number of the top line is displayed on the menu bar unless 
  1507.     the end of file message is visible, then the line number displayed 
  1508.     will be the last line of the file.  Unless the file is very small, 
  1509.     you can use PgUp to realign the last page and get rid of the message. 
  1510.  
  1511.       If the number keys are used to go to a line already on the screen, 
  1512.     the screen will scroll until the line is at the top.  Otherwise the 
  1513.     screen will clear and a new page will be displayed.  
  1514.  
  1515.       READ now has a unique method of utilizing the space bar.  
  1516.     Instead of displaying one page of text and halting, pressing 
  1517.     the spacebar will cause the text to scroll until the spacebar
  1518.     is pressed again.  This allows you to halt the display at any
  1519.     desired position.  The scroll rate can be adjusted by pressing 
  1520.     the up and down arrows while the text is moving.  
  1521.  
  1522.       Don't try to control the text with the arrow keys.  Use
  1523.     them to adjust the scroll rate then control the text with the 
  1524.     spacebar.
  1525.  
  1526.  
  1527.       Text searches can be done by typing a "\" or a "|".  You will then 
  1528.     be prompted to enter a search string.  READ will begin displaying ten 
  1529.     lines before the line containing the search string and the matching 
  1530.     line will be highlighted.  The "\" command will ignore differences 
  1531.     between upper and lower case.  The "|" command will find only strings
  1532.     having the exact case as the search string.  Typing a "/" will find
  1533.     the next occurrence of the string and will work with either of the
  1534.     two previous commands. Searches can not be done when reading from 
  1535.     standard input.
  1536.  
  1537.       If +\string is used as an option, READ will search the first 
  1538.     occurrence of "string" before displaying.  For example:
  1539.  
  1540.             read +\ffind dosnix.doc
  1541.  
  1542.     will scan DOSNIX.DOC for the first occurrence of "ffind" and
  1543.     begin displaying ten lines before the first matching line.
  1544.  
  1545.       Case sensitive searches can also be initiated from the command
  1546.     line.  Because "|" is a DOS operator it will be necessary to put
  1547.     the argument in quotes.  For example:
  1548.  
  1549.         read "+|FFIND" dosnix.doc
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.        
  1558.       Pressing F4 will display the current directory.  You can then
  1559.     use the arrow keys to select either a new file or a new directory.
  1560.     This mode can be entered from the command line by using a directory
  1561.     as an argument.
  1562.  
  1563.  
  1564.       When +### is used as an option, READ will begin displaying at 
  1565.     whatever line number is given after the plus sign.  For example:
  1566.  
  1567.         read +300 dosnix.doc
  1568.  
  1569.     will begin displaying at line 300.
  1570.  
  1571.  
  1572.       Output from other programs can be piped to READ using the "|"
  1573.         operator.  When displaying redirected input, search and    back scroll 
  1574.     commands are not available and lines longer than 80 columns will be 
  1575.     wrapped.  A '-f' option has been provided which will dump redirected 
  1576.     input into a temporary file before reading, making the full range of 
  1577.     commands available.  For example:
  1578.  
  1579.                         ffind -m c:\ *.* | read -f
  1580.  
  1581.         will allow the user to page through the output of FFIND which in 
  1582.     this case is a complete list of files on drive C.
  1583.  
  1584.  
  1585.       Typing "read" by itself with no arguments will echo whatever is
  1586.     typed on the keyboard.  This is also true for CAT and other 
  1587.     commands which are capable of reading STDIN.  This can be confusing  
  1588.     for novice users.  To get out of this mode type CTRL-Z followed
  1589.     by a carriage return.
  1590.  
  1591.       READ is now provided in two versions.  The standard version,
  1592.     READ.EXE will handle files containing up to 65,500 lines on 384k
  1593.     and larger systems.  A larger version, READXL.EXE will be provided
  1594.     to registered users and will handle file containing over 150,000 
  1595.     lines, depending on available memory.
  1596.  
  1597.  
  1598.  
  1599. ~rm
  1600.  
  1601.  
  1602.     NAME:
  1603.  
  1604.     RM      Remove file(s).
  1605.  
  1606.  
  1607.     SYNTAX:
  1608.  
  1609.     rm [-fis] file1...filen        Removes files.
  1610.  
  1611.     rm -r[fis] dir1..dirn          Completely removes directories.
  1612.  
  1613.  
  1614.  
  1615.     OPTIONS:
  1616.  
  1617.     f               Remove protected files without prompting.
  1618.         i               Remove files interactively.
  1619.         r               Recursively remove subdirectories.
  1620.         s               Remove files without echoing to screen.
  1621.  
  1622.  
  1623.  
  1624.  
  1625.     DESCRIPTION:
  1626.  
  1627.       RM is the UNIX equivalent of the MSDOS DEL command.  If a protected 
  1628.     file is specified, RM will prompt you before removing it unless the
  1629.     -f option is used.  This version of RM will display each filename as
  1630.     it is removed.  You can use the  -s option to override this feature.
  1631.  
  1632.       The -i option can be used with wildcards to allow you to pick 
  1633.     and choose which files will be removed. For example:
  1634.  
  1635.                         rm -i *.*
  1636.  
  1637.     will display each filename in the current directory and prompt you
  1638.     for a yes or no answer before deleting.
  1639.  
  1640.       The -r option is used to remove directories.  A directory cannot 
  1641.     be removed unless this option is used.  The directory along with all 
  1642.     files and subdirectories will be completely removed.  If you are using 
  1643.     RM to remove a directory on another drive, make sure that the drive is
  1644.     not logged in to the directory you are removing.  RM cannot remove the
  1645.         current directory of any drive.  
  1646.  
  1647.       If the root directory of any drive is specified, all files and
  1648.     directories on the drive will be removed.  The root directory itself 
  1649.     can not be removed.  For example:
  1650.  
  1651.             rm -r a:\
  1652.  
  1653.     will remove everything on drive A.  RM is a great tool for erasing
  1654.     floppy disks but it is also capable of wiping out your hard disk.
  1655.     Use it with care.
  1656.  
  1657.       RM will now accept multiple arguments, making it easier to clean
  1658.     up directories.  It is okay to mix file    names and directory names as 
  1659.     long as the -r option is used.
  1660.  
  1661.  
  1662.  
  1663. ~rn
  1664.  
  1665.  
  1666.     NAME:
  1667.  
  1668.     RN      Rename file or directory.
  1669.  
  1670.  
  1671.     SYNTAX:
  1672.  
  1673.  
  1674.     rn oldfile newfile              Renames oldfile to newfile.
  1675.     rn oldfile dir                  Relocates oldfile to dir.
  1676.         rn olddir  newdir               Renames olddir to newdir.
  1677.  
  1678.  
  1679.  
  1680.     OPTIONS: none
  1681.  
  1682.  
  1683.  
  1684.  
  1685.     DESCRIPTION:
  1686.  
  1687.       RN is similar to the MV command but is much more limited in scope.  
  1688.     Only one file or directory can be renamed at a time and wild cards 
  1689.     are not permitted.  Files can not be  relocated to another drive and 
  1690.     directories can only be renamed within the parent directory.  Because 
  1691.     of its small size, RN is very useful for floppy drive systems where
  1692.     space is limited.
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698. ~tee
  1699.  
  1700.  
  1701.     NAME:
  1702.  
  1703.     TEE     Copy standard input to standard output and file(s).
  1704.  
  1705.  
  1706.     SYNTAX:
  1707.  
  1708.     tee [-a] file1 [file2]..[file5]         Copies STDIN to STDOUT and 
  1709.                         file1..file5.
  1710.  
  1711.  
  1712.     OPTIONS:
  1713.  
  1714.     a                       Append output to specified file[s]
  1715.         s                       Suppress standard output.
  1716.  
  1717.  
  1718.     DESCRIPTION:
  1719.  
  1720.       TEE can be used with the DOS "|" operator and any command which 
  1721.     writes to standard output.  For example:
  1722.  
  1723.         cat file1 file2 | tee file3
  1724.  
  1725.     concatenates file1 and file2 while displaying them on the screen and 
  1726.     stores them in file3.
  1727.  
  1728.                  ls -lb dir1 | tee file1
  1729.  
  1730.         displays dir1 in long format and stores the output in file1.
  1731.  
  1732.           The -a option can be used to append the output to existing files.  
  1733.     If the -a option is not used, existing files will be overwritten.  
  1734.     For example:
  1735.  
  1736.                         tee -a file2 <file1
  1737.  
  1738.         displays file1 and appends it to the end of file2
  1739.  
  1740.                         tee file2 <file1
  1741.  
  1742.         displays file1 and overwrites file2.
  1743.  
  1744.           The -s option can be used to suppress standard output and write to 
  1745.     specified files only.  For example:
  1746.  
  1747.         cat source1 | tee -s file1 file2 file3
  1748.  
  1749.         will make multiple copies of source1 without displaying it on the 
  1750.     screen.
  1751.  
  1752.           TEE is meant for use with text files only and use with binary files 
  1753.     is not recommended.
  1754.  
  1755.  
  1756.  
  1757. ~tolower
  1758.  
  1759.  
  1760.     NAME:
  1761.  
  1762.     TOLOWER         Convert to lower case.
  1763.  
  1764.  
  1765.  
  1766.     SYNTAX:
  1767.  
  1768.     tolower                         Converts STDIN to lower case and 
  1769.                     writes to STDOUT.
  1770.  
  1771.  
  1772.  
  1773.     DESCRIPTION:
  1774.  
  1775.       TOLOWER is a filter which will convert all upper case characters to 
  1776.     lower case.  All other characters are left unchanged.  For example:
  1777.  
  1778.                         tolower < file1 > file2
  1779.  
  1780.         converts file1 to lower case and stores the result in file2.
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786. ~touch
  1787.  
  1788.  
  1789.     NAME:
  1790.  
  1791.     TOUCH   Modify file date and time.
  1792.  
  1793.  
  1794.  
  1795.     SYNTAX:
  1796.  
  1797.     touch [-t] [mm/dd/yy;hh:mm:ss] file1
  1798.                                                 Changes date and time of file1
  1799.  
  1800.  
  1801.  
  1802.     OPTIONS:
  1803.  
  1804.     t                       User selected time and date.
  1805.  
  1806.  
  1807.  
  1808.     DESCRIPTION:
  1809.  
  1810.       TOUCH will change the date and time of the specified file to the 
  1811.     current DOS date and time.  If the -t option is used the user can 
  1812.     supply the date and time as the next argument in the format 
  1813.     mm/dd/yy;hh:mm:ss.  If the date and time argument is omitted the 
  1814.     user is prompted to enter the  date and time of his choice.  Wildcards 
  1815.     can be used in file names.
  1816.  
  1817.  
  1818.  
  1819.  
  1820. ~toupper
  1821.  
  1822.  
  1823.     NAME:
  1824.  
  1825.     TOUPPER         Convert to upper case.
  1826.  
  1827.  
  1828.  
  1829.     SYNTAX:
  1830.  
  1831.     toupper                         Converts STDIN to upper case and 
  1832.                     writes to STDOUT.
  1833.  
  1834.  
  1835.  
  1836.     DESCRIPTION:
  1837.  
  1838.       TOUPPER is a filter which will convert all lower case characters 
  1839.     to upper case.  All other characters are left unchanged.  For example:
  1840.  
  1841.                         toupper < file1 > file2
  1842.  
  1843.         converts file1 to upper case and stores the result in file2.
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.                               DISCLAIMER OF WARRANTY
  1851.  
  1852.     This software and manual are sold "as is" and without warranties as to
  1853.     performance of merchantability or any other warranties whether expressed
  1854.     or implied.  Because of the various hardware and software environments
  1855.     into which this program may be put, no warranty of fitness for a particular
  1856.     purpose is offered.
  1857.  
  1858.     Good data processing procedure dictates that any program be thoroughly
  1859.     tested with non-critical data before relying on it.  The user must assume
  1860.     the entire risk of using the program.  Any liability of the seller will be
  1861.     limited exclusively to product replacement or refund of purchase price.
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867. ~registration
  1868.  
  1869.  
  1870.           DOSNIX ver. 2.2 is the product of many hours of design, testing
  1871.         and debugging.  If you use this utility package beyond a reasonable
  1872.         period of time for evaluation, you are required to register. When 
  1873.     you register you will be sent a copy of the enhanced version of DOSNIX 
  1874.     which contains several utilities not found in this version, including 
  1875.     CPDIR, DF, GET, HEAD, SGREP, SPLIT, TAIL and WC.  The fee for reg-
  1876.     istration is $35.00.  Currently registered users may upgrade at any 
  1877.     time by sending $7.00 to cover shipping and handling.
  1878.  
  1879.           Copies of DOSNIX ver. 2.2 can be made and distributed provided 
  1880.         that all utilities, documentation and licensing information are 
  1881.     included.  Even if you do not use this program you are encouraged 
  1882.     to share it with your friends and to upload it to bulletin boards. 
  1883.     Shareware dealers are free to distribute this program provided that 
  1884.     they comply with the guidelines given in REGISTER.DOC.
  1885.  
  1886.           Businesses are invited to use DOSNIX on a trial basis and then to
  1887.         apply for a site license.  Please write to me at the address below
  1888.         to register or to obtain information on site licenses.
  1889.  
  1890.  
  1891.                         Gerald M. Vrooman
  1892.                         6400 NY Rt 79
  1893.                         Chenango Forks, NY
  1894.                         13746
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901. -------------------------------------------------------------------------------
  1902.  
  1903.  
  1904.                   DOSNIX  2.2 REGISTRATION
  1905.  
  1906.  
  1907.  
  1908.         NAME:     ____________________________________________________________
  1909.  
  1910.         ADDRESS:  ____________________________________________________________
  1911.  
  1912.                   ____________________________________________________________
  1913.  
  1914.                   ____________________________________________________________
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.     ____ Enhanced version of DOSNIX @ $7.00              ____________
  1922.  
  1923.  
  1924.     ____ Single user registration @ $35.00                ____________
  1925.          ($25.00 before 03/01/93.  Includes 
  1926.           enhanced version.)
  1927.  
  1928.  
  1929.     ____ Basic Site License @ $90.00                      ____________
  1930.          (Up to three computers)
  1931.  
  1932.  
  1933.     ____ Additional computers @ $28.00 
  1934.          (For networks estimate the number
  1935.           of computers which  will be using
  1936.           DOSNIX)                                  ____________
  1937.  
  1938.  
  1939.  
  1940.     Total amount enclosed                                 ____________
  1941.     
  1942.  
  1943.  
  1944.  
  1945.         Please circle one:      5.25" disk      3.5" disk
  1946.  
  1947.  
  1948.  
  1949.